#include "dialog.h"
#include "ui_dialog.h"
#include <QDebug>

Dialog::Dialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Dialog)
{
    ui->setupUi(this);
    double d = 100.25;
    int x = d;
    int *pInt = (int *)&d;
    qDebug()<<x;
    qDebug()<<*pInt;
}

Dialog::~Dialog()
{
    delete ui;
}

